
public class RailRoad extends Block {
	private String railRoadName, currentOwner, propertyImage, propertyDeedSmall, propertyDeedLarge, propertyDeedMortgaged;
	private Player cOwner;
	private int price, rent0, rent1, rent2, rent3, mortgageValue, currentRent;
	private boolean isMortgaged;
	
	public RailRoad(String nme, int prce, String propImge, String deedSmall, String deedLarge, String deedMortgaged, int blkNum){
		this.railRoadName = nme;
		this.currentOwner=null;
		this.price = prce;
		this.propertyImage=propImge;
		this.propertyDeedSmall=deedSmall;
		this.propertyDeedLarge=deedLarge;
		this.propertyDeedMortgaged=deedMortgaged;
		this.rent0=25;
		this.rent1=50;
		this.rent2=100;
		this.rent3=200;
		this.mortgageValue=100;
		this.isMortgaged=false;
		super.setBlockNumber(blkNum);
	}
	
	public String getName(){
		return railRoadName;
	}
	
	public int getPrice(){
		return price;
	}
	
	public String getCurrentOwner(){
		return currentOwner;
	}
	
	public Player getCOwner(){
		return cOwner;
	}
	
	public String getPropertyImage(){
		return propertyImage;
	}
	
	public String getPropertyDeedSmall(){
		return propertyDeedSmall;
	}
	
	public String getPropertyDeedLarge(){
		return propertyDeedLarge;
	}
	
	public String getPropertyDeedMortgaged(){
		return propertyDeedMortgaged;
	}
	
	public int getCurrentRent(){
		return currentRent;
	}
	public int getRent0(){
		return rent0;
	}
	
	public int getRent1(){
		return rent1;
	}
	
	public int getRent2(){
		return rent2;
	}
	
	public int getRent3(){
		return rent3;
	}
	
	public int getMortgageValue(){
		return mortgageValue;
	}
	
	public boolean getIsMortgaged(){
		return isMortgaged;
	}
	
	
	/***SETTERS***/
	
	public void setCurrentOwner(String nme){
		this.currentOwner=nme;
	}
	
	public void setIsMortgaged(boolean isMort){
		this.isMortgaged=isMort;
	}
	
	public void setCOwner(Player play){
		this.cOwner=play;
	}
	
	public void setCurrentRent(int cRent){
		switch(cRent){
					case 0:
							this.currentRent=rent0;
							break;
					case 1:
							this.currentRent=rent1;
							break;
					case 2:
							this.currentRent=rent2;
							break;
					case 3:
							this.currentRent=rent3;
							break;
		}
	}

	public void setRailRoadName(String railRoadName) {
		this.railRoadName = railRoadName;
	}

	public void setPropertyImage(String propertyImage) {
		this.propertyImage = propertyImage;
	}

	public void setPropertyDeedSmall(String propertyDeedSmall) {
		this.propertyDeedSmall = propertyDeedSmall;
	}

	public void setPropertyDeedLarge(String propertyDeedLarge) {
		this.propertyDeedLarge = propertyDeedLarge;
	}

	public void setPropertyDeedMortgaged(String propertyDeedMortgaged) {
		this.propertyDeedMortgaged = propertyDeedMortgaged;
	}

	public void setcOwner(Player cOwner) {
		this.cOwner = cOwner;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public void setRent0(int rent0) {
		this.rent0 = rent0;
	}

	public void setRent1(int rent1) {
		this.rent1 = rent1;
	}

	public void setRent2(int rent2) {
		this.rent2 = rent2;
	}

	public void setRent3(int rent3) {
		this.rent3 = rent3;
	}

	public void setMortgageValue(int mortgageValue) {
		this.mortgageValue = mortgageValue;
	}

	public void setMortgaged(boolean isMortgaged) {
		this.isMortgaged = isMortgaged;
	}

}
